import { createApp } from 'vue'
import { createPinia } from 'pinia'

// import App from './App.vue'
// import App from './vueTest/HooksApp.vue'
// import App from './vueTest/PiniaApp.vue'
import App from '@/vueTest/componentCommunicate/props/Father.vue'
import router from './router'

import 'element-plus/dist/index.css'
import axios from "axios";

const app = createApp(App)

// axios.defaults.baseURL = 'http://127.0.0.1:8081'
axios.defaults.baseURL = 'http://192.168.138.138:8081' // 服务器ip:端口

app.use(createPinia())
app.use(router)

app.mount('#app')
